let rightTop1 = document.querySelector('.center-right-top')
let context = echarts.init(rightTop1)
let rights = {
  title: {
    left: 'center'
  },
  tooltip: {
    trigger: 'item',
    formatter: '{a} <br/>{b} : {c} ({d}%)'
  },
  // legend: {
  //   top: '10%',
  //   left: 'center'
  // },
  series: [
    {
      name: 'Radius Mode',
      type: 'pie',
      radius: [15, 40],
      center: ['50%', '50%'],
      roseType: 'area',
      // itemStyle: {
      //   borderRadius: 5
      // },
      data: [
        { value: 28, name: '涉蒙' },
        { value: 18, name: '涉疆' },
        { value: 30, name: '涉军' },
        { value: 50, name: '涉恐' },
        { value: 18, name: '涉藏' },
        { value: 40, name: '涉稳' },
        { value: 40, name: '涉警' }
      ]
    }
  ]
};

  context.setOption(rights)